<!DOCTYPE html>
<html>
<head>
	<title>现场照片信息表</title>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<link rel="stylesheet" href="../../css/bootstrap.min.css">
	<link rel="stylesheet" href="../../css/font-awesome.min.css">
	<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
	<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
	<link rel="stylesheet" href="../../css/main.css">
	<script src="../../libs/jquery.min.js"></script>
	<script src="../../plugins/layer/layer.js"></script>
	<script src="../../libs/bootstrap.min.js"></script>
	<script src="../../libs/vue.min.js"></script>
	<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
	<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
	<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
	<script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<!--<a  class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
			<!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
			<!--<a  class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
		</div>
		<table id="jqGrid"></table>
		<div id="jqGridPager"></div>
		<div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;">
			<div id="innerdiv" style="position:absolute;">
				<img id="bigimg" style="border:5px solid #fff;" src="" />
			</div>
		</div>

	</div>

	<div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
			<div class="form-group">
				<div class="col-sm-2 control-label">所属项目ID</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pGuid" placeholder="所属项目ID"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">所属点位ID</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pPGuid" placeholder="所属点位ID"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">照片来源</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pPResour" placeholder="照片来源"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">点位类型 存数据字典的名字</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pPType" placeholder="点位类型 存数据字典的名字"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">照片标签</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pLabel" placeholder="照片标签"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">拍照时间</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pTime" placeholder="拍照时间"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">照片名称</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pName" placeholder="照片名称"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">物理地址</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pAppaddress" placeholder="物理地址"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">服务器地址</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pServeraddress" placeholder="服务器地址"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">经度</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pLongitude" placeholder="经度"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">纬度</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pLatitude" placeholder="纬度"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label">数据状态</div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pDatastate" placeholder="数据状态"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div>
				<div class="col-sm-10">
					<input type="text" class="form-control" v-model="dPicture.pStatus" placeholder=""/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div>
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="../../js/modules/csg/cstackpointpicturehd.js"></script>
</body>
</html>